from datetime import datetime

if __name__ == '__main__':
    # 获取当前的时间日期
    current = datetime.now()

    # 获取年月日
    year = current.year
    month = current.month
    day = current.day

    # month = 1

    # 计算当前是这一年的第几天
    leap_year = False
    if ((year % 100 == 0) and (year % 400 == 0)) or (year % 4 == 0):
        leap_year = True

    days = 0

    numbers = []
    if leap_year:
        numbers = [0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30]
    else:
        numbers = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30]

    for i in range(0, month):
        days = days + numbers[i]


    days = days + day

    print(days)

    # 对 5 取模，123 打鱼，40 筛网
    if 1 <= days % 5 <= 3:
        print("今天在打鱼")
    else:
        print("今天在晒网")
